package com.bwie.service.impl;

import com.bwie.common.domain.User;
import com.bwie.mapper.SystemMapper;
import com.bwie.service.SystemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @className: SystemServiceImpl
 * @Description: TODO
 * @version: v1.８.0
 * @author: 安楷杰
 * @date: 2025/11/4 9:58
 */
@Service
public class SystemServiceImpl implements SystemService {
    @Autowired
    public SystemMapper mapper;
    @Override
    public User loginByAccount(String account) {
        return mapper.loginByAccount(account);
    }

    @Override
    public void add(User user) {
        mapper.add(user);
    }

    @Override
    public User findTel(String phone) {
        return mapper.findTel(phone);
    }
}